package com.hundsun.s3.common.dto;

/**
 * 
 * from 哪里来
 * to 去哪里
 * timestamp 时间
 * content 内容
 * isFirst 是否第一次提问
   @auther:caoyg23610
   @date:2018年2月5日 下午5:09:57
 */
public class Message {
	private String  fromId;
	private String  toId;
	private String  fromName;
	private String  toName;
	private String  timestamp;
	private String msg;
	private String mime;
	private  boolean isFirst;
	private boolean isRead = true;
	
	public boolean isRead() {
		return isRead;
	}
	public void setRead(boolean isRead) {
		this.isRead = isRead;
	}
	public String getFromId() {
		return fromId;
	}
	public void setFromId(String fromId) {
		this.fromId = fromId;
	}
	public String getToId() {
		return toId;
	}
	public void setToId(String toId) {
		this.toId = toId;
	}
	public String getFromName() {
		return fromName;
	}
	
	public String getMime() {
		return mime;
	}
	public void setMime(String mime) {
		this.mime = mime;
	}
	public void setFromName(String fromName) {
		this.fromName = fromName;
	}
	public String getToName() {
		return toName;
	}
	public void setToName(String toName) {
		this.toName = toName;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public boolean isFirst() {
		return isFirst;
	}
	public void setFirst(boolean isFirst) {
		this.isFirst = isFirst;
	}
}
